var app = {
  clearAll: (dataMap, callback) => {
    var cache = {};
    cache['start'] = 0;
    cache['limit'] = 10;
    //ascription
    for (const key in dataMap) {
      if (dataMap.hasOwnProperty(key)) {
        let element = dataMap[key];
        if (key == 'start' || key == 'limit') {
          continue;
        }
        if (key === 'ascription') {
          cache[key] = element;
        } else {
          cache[key] = '';
          console.log( cache[key],'432345345erew')
        }
      }
    }
    return callback(cache);
  }
}


export default app;
